{template 'default','headerclass'}
<div id="wrap">
    <div id="top"></div>
    <div id="container" class="clearfix">
					{template 'default','member_left'}
        <div id="main" class="edufe_fl">
            <div class="title">我接收的消息</div>
            <div class="con">
                <form action="{URL}" method="post" onsubmit="return r_submit(this);">
                <ul class="message">
                    {loop $data $r}
                    <li class="clearfix">
                        <div class="mess_01">
                            <p class="date">{date('Y-m-d H:i',$r['addtime'])}</p>
                        </div>
                        <div class="mess_02">
                                            发送人:{php echo $member->get_truename($r['fromuser'])} <br/>
											{nl2br($r['content'])}
                        </div>
                        <input type="button" class="inpt_del" onclick="my_request('/member.php?action=del_message&id={$r['id']}','确认要删除吗？')" value="删除"/>
                    </li>
                    {/loop}
                </ul>
                </form>
            </div>
            <div class="title">我发送的消息</div>
            <div class="con">
                <form action="{URL}" method="post" onsubmit="return r_submit(this);">
                <ul class="message">
                    {loop $data_fromme $r}
                    <li  class="clearfix">
                        <div class="mess_01">
                            <p class="date">{date('Y-m-d H:i',$r['addtime'])}</p>
                        </div>
                        <div class="mess_02">
											发送给:{php echo $member->get_truename($r['touser'])} <br/>
                                            {nl2br($r['content'])}
                        </div>
                        <input type="button" class="inpt_del" onclick="my_request('/member.php?action=del_message&id={$r['id']}','确认要删除吗？')" value="删除"/>
                    </li>
                    {/loop}
                </ul>
                </form>
            </div>
        </div>
    </div>

{template 'default','footer'}
